package com.sj.parksdk.net.result.databean;

import java.math.BigDecimal;
import java.util.List;

public class Data_Purchase {
    private long id;
    private long parkingLotId;
    private String  parkingLotName;
    private String  vehicleType;
    private String  remark;
    private String name;
    private List<TypeBean> items;

    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getParkingLotId() {
        return parkingLotId;
    }

    public void setParkingLotId(long parkingLotId) {
        this.parkingLotId = parkingLotId;
    }

    public String getParkingLotName() {
        return parkingLotName;
    }

    public void setParkingLotName(String parkingLotName) {
        this.parkingLotName = parkingLotName;
    }

    public String getVehicleType() {
        return vehicleType;
    }

    public void setVehicleType(String vehicleType) {
        this.vehicleType = vehicleType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public List<TypeBean> getItems() {
        return items;
    }

    public void setItems(List<TypeBean> items) {
        this.items = items;
    }

    public static class TypeBean{
        private int id;
        private int month;
        private BigDecimal money;

        public TypeBean(){}

        public TypeBean(int id,int month,String money){
            this.id = id;
            this.month = month;
            this.money = new BigDecimal(money);
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getMonth() {
            return month;
        }

        public void setMonth(int month) {
            this.month = month;
        }

        public String getMoney() {
            return money ==null ?"":money.toString();
        }

        public void setMoney(BigDecimal money) {
            this.money = money;
        }
    }
}
